﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BricksProblemSolver
{
    public interface IBrickRow : ICloneable
    {
        int Length { get; }

        bool IsFull { get; }

        void AddBrick(int brickLength);

        bool CanAddBrick(int brickLength);

        bool HasNoGapOnSameLine(IBrickRow otherRow);

        IEnumerable<sbyte> GetAllBricks();

        void Clear();
    }
}
